package com.zyh.dto;

import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
public class EmailDto implements Serializable {
    @NotBlank
    @Email(message = "邮箱格式不正确")
    private String email;
}
